package co.yixiang.yshop.module.product.convert.storeproductstocklog;

import java.util.*;

import co.yixiang.yshop.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import co.yixiang.yshop.module.product.controller.admin.storeproductstocklog.vo.*;
import co.yixiang.yshop.module.product.dal.dataobject.storeproductstocklog.StoreProductStockLogDO;

/**
 * 商品库存记录 Convert
 *
 * @author admin
 */
@Mapper
public interface StoreProductStockLogConvert {

    StoreProductStockLogConvert INSTANCE = Mappers.getMapper(StoreProductStockLogConvert.class);

    StoreProductStockLogDO convert(StoreProductStockLogCreateReqVO bean);

    StoreProductStockLogDO convert(StoreProductStockLogUpdateReqVO bean);

    StoreProductStockLogRespVO convert(StoreProductStockLogDO bean);

    List<StoreProductStockLogRespVO> convertList(List<StoreProductStockLogDO> list);

    PageResult<StoreProductStockLogRespVO> convertPage(PageResult<StoreProductStockLogDO> page);

    List<StoreProductStockLogExcelVO> convertList02(List<StoreProductStockLogDO> list);

}
